package com.huanbao.auth.feign;

import com.huanbao.common.pojo.sassrabc.vo.SassUserDetail;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "cloud-saas")
public interface CloudSassApi {

    @PostMapping("/saas/admin/getSassUserByName")
    SassUserDetail getSassUserByName(@RequestParam("loginName") String loginName);

}
